<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title>时间日期控件</title>
    <link rel="stylesheet" type="text/css" href="../example.css" />
<style>
#container {
  background : #EEF6FC;
  border-top : 1px solid #DBEBF1;
  padding : 10px;
}
</style>
</head>
<body>

<div id="doc4">
  <div class="hd">
    <div class="hd-title">Date & Time:</div>
    <div class="hd">
      <div id="container">
        <input id="test1">
      </div>
    </div>
    <h1>code:</h1>
<pre>
__.load(['calendar'], function() {
  var _ = __._;

  var oCal = new __.widget.Calendar({
    level : 6,
    couplingIpt : 'test1',
    modal : false,
    followMouse : true
  });

});
});
</pre>
  </div>
</div>
<script> __ = {
  cfg : [undefined, true, '0', 'http://localhost/att/workspace/os/svn']
};
</script>
<script src="http://localhost/att/workspace/os/svn/trunk/src/loader/loader.js"></script>
<script>
__.load('yui core calendar', function() {
  var _ = __._;

  /* begin:日期时间 */
  var oCal = new __.widget.Calendar({
    level : 6,
    couplingIpt : 'test1',
    modal : false,
    followMouse : true
  });
  /* end:日期时间 */

});
</script>
</body>
</html>

